package com.yuju.vo.group;

import com.yuju.common.BaseVO;
import com.yuju.common.fileld.validator.Rule.NonNull;
import java.util.Date;
/**
 * 
 * 类名：MemberVO  <br private Integer pageSize;/>
 *
 * 功能：
 *
 * @author : zhousc <br />
 * @Date : 2017年11月27日 上午10:35:41  <br />
 * @version : 1.1 <br />
 */
public class MemberVO extends BaseVO{
	// 当前页码
	@NonNull(message = "页数不能为空", serviceLine = "pager")
	private Integer page;
	// 每页显示记录数
	@NonNull(message = "每页显示行数不能为空", serviceLine = "pager")
	private Integer pageSize;
	// 模糊查询关键字
	private String q;
		
	/**
     *  主键。存储UUID，由应用生成。,所属表字段为grp_member.id
     */
	@NonNull(message = "ID不能为空", serviceLine = "update,del,get")
    private String id;

    /**
     *  名称。,所属表字段为grp_member.name
     */
	@NonNull(message = "姓名不能为空", serviceLine = "update,save")
    private String name;
    /**
     *  名称模糊查询。,所属表字段为grp_member.name
     */
    private String myLike_name;
    /**
     *  所属酒店。外键，引用酒店信息表（grp_hotel）的主键（id）。,所属表字段为grp_member.hotel_id
     */
    @NonNull(message = "分店ID不能为空", serviceLine = "update,save")
    private String hotelId;
    /**
     *  所属酒店下拉。外键，引用酒店信息表（grp_hotel）的主键（id）。,所属表字段为grp_member.hotel_id
     */
    private String myLike_hotelId;
    /**
     *  所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为grp_member.group_id
     */
    @NonNull(message = "集团ID不能为空", serviceLine = "update,save")
    private String groupId;

    /**
     *  联系电话。,所属表字段为grp_member.phone
     */
    @NonNull(message = "手机号不能为空", serviceLine = "update,save")
    private String phone;
    /**
     *  联系电话模糊查询。,所属表字段为grp_member.phone
     */
    private String myLike_phone;
    /**
     *  性别。1表示男，2表示女。,所属表字段为grp_member.gender
     */
    @NonNull(message = "性别不能为空", serviceLine = "update,save")
    private Byte gender;

    /**
     *  证件类型。1身份证，2港澳通行证，3护照，4军官证，5其他证件。,所属表字段为grp_member.certificate_type
     */
    private Byte certificateType;

    /**
     *  证件编号。,所属表字段为grp_member.certificate_code
     */
    private String certificateCode;

    /**
     *  出生日期。,所属表字段为grp_member.birth_date
     */
    private Date birthDate;

    /**
     *  籍贯。,所属表字段为grp_member.native_place
     */
    private String nativePlace;

    /**
     *  地址。,所属表字段为grp_member.address
     */
    private String address;

    /**
     *  ,所属表字段为grp_member.card_code
     */
    private String cardCode;
    /**
     *  卡号模糊查询,所属表字段为grp_member.card_code
     */
    private String myLike_cardCode;
    /**
     *  ,所属表字段为grp_member.member_level_id
     */
    @NonNull(message = "会员级别不能为空", serviceLine = "update,save")
    private String memberLevelId;

    /**
     *  销售员。外键，引用员工信息表（grp_employee）的主键（id）。,所属表字段为grp_member.sale_id
     */
    private String saleId;

    /**
     *  失效日期。,所属表字段为grp_member.expiry_date
     */
    private Date expiryDate;

    /**
     *  简介，限制2000个字符。,所属表字段为grp_member.info
     */
    private String info;

    /**
     *  卡状态。1是有效，2是注销。,所属表字段为grp_member.card_status
     */
    private Byte cardStatus;

    /**
     *  是否逻辑删除。0表示未删除，1表示已逻辑删除。,所属表字段为grp_member.is_deleted
     */
    private Byte isDeleted;

    /**
     *  创建时间。,所属表字段为grp_member.gmt_create
     */
    private Date gmtCreate;

    /**
     *  修改时间。,所属表字段为grp_member.gmt_modified
     */
    private Date gmtModified;

    private static final long serialVersionUID = 1L;

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public String getQ() {
		return q;
	}

	public void setQ(String q) {
		this.q = q;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMyLike_name() {
		return myLike_name;
	}

	public void setMyLike_name(String myLike_name) {
		this.myLike_name = myLike_name;
	}

	public String getHotelId() {
		return hotelId;
	}

	public void setHotelId(String hotelId) {
		this.hotelId = hotelId;
	}

	public String getMyLike_hotelId() {
		return myLike_hotelId;
	}

	public void setMyLike_hotelId(String myLike_hotelId) {
		this.myLike_hotelId = myLike_hotelId;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMyLike_phone() {
		return myLike_phone;
	}

	public void setMyLike_phone(String myLike_phone) {
		this.myLike_phone = myLike_phone;
	}

	public Byte getGender() {
		return gender;
	}

	public void setGender(Byte gender) {
		this.gender = gender;
	}

	public Byte getCertificateType() {
		return certificateType;
	}

	public void setCertificateType(Byte certificateType) {
		this.certificateType = certificateType;
	}

	public String getCertificateCode() {
		return certificateCode;
	}

	public void setCertificateCode(String certificateCode) {
		this.certificateCode = certificateCode;
	}

	public Date getBirthDate() {
		return birthDate;
	}

	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	}

	public String getNativePlace() {
		return nativePlace;
	}

	public void setNativePlace(String nativePlace) {
		this.nativePlace = nativePlace;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCardCode() {
		return cardCode;
	}

	public void setCardCode(String cardCode) {
		this.cardCode = cardCode;
	}

	public String getMyLike_cardCode() {
		return myLike_cardCode;
	}

	public void setMyLike_cardCode(String myLike_cardCode) {
		this.myLike_cardCode = myLike_cardCode;
	}

	public String getMemberLevelId() {
		return memberLevelId;
	}

	public void setMemberLevelId(String memberLevelId) {
		this.memberLevelId = memberLevelId;
	}

	public String getSaleId() {
		return saleId;
	}

	public void setSaleId(String saleId) {
		this.saleId = saleId;
	}

	public Date getExpiryDate() {
		return expiryDate;
	}

	public void setExpiryDate(Date expiryDate) {
		this.expiryDate = expiryDate;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public Byte getCardStatus() {
		return cardStatus;
	}

	public void setCardStatus(Byte cardStatus) {
		this.cardStatus = cardStatus;
	}

	public Byte getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Byte isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public MemberVO() {
		super();
		// TODO Auto-generated constructor stub
	}

	public MemberVO(Integer page, Integer pageSize, String q, String id, String name, String myLike_name,
			String hotelId, String myLike_hotelId, String groupId, String phone, String myLike_phone, Byte gender,
			Byte certificateType, String certificateCode, Date birthDate, String nativePlace, String address,
			String cardCode, String myLike_cardCode, String memberLevelId, String saleId, Date expiryDate, String info,
			Byte cardStatus, Byte isDeleted, Date gmtCreate, Date gmtModified) {
		super();
		this.page = page;
		this.pageSize = pageSize;
		this.q = q;
		this.id = id;
		this.name = name;
		this.myLike_name = myLike_name;
		this.hotelId = hotelId;
		this.myLike_hotelId = myLike_hotelId;
		this.groupId = groupId;
		this.phone = phone;
		this.myLike_phone = myLike_phone;
		this.gender = gender;
		this.certificateType = certificateType;
		this.certificateCode = certificateCode;
		this.birthDate = birthDate;
		this.nativePlace = nativePlace;
		this.address = address;
		this.cardCode = cardCode;
		this.myLike_cardCode = myLike_cardCode;
		this.memberLevelId = memberLevelId;
		this.saleId = saleId;
		this.expiryDate = expiryDate;
		this.info = info;
		this.cardStatus = cardStatus;
		this.isDeleted = isDeleted;
		this.gmtCreate = gmtCreate;
		this.gmtModified = gmtModified;
	}


}